package com.sbl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 *  引导类
 *  @SpringBootApplication注解标识该类是引导类
 */
@SpringBootApplication
//@MapperScan("com.sbl.mapper")//扫描mapper文件，写入mapper的路径
public class ApplicationStart {

    public static void main(String[] args) {
        //run方法表示启动SpringBoot的引导类，参数就是引导类的字节码对象
        SpringApplication.run(ApplicationStart.class,args);
    }
}
